from django.urls import path,re_path
from . import views

urlpatterns = [
    re_path('^index/findBanner/$',views.BannerView.as_view()), #// 轮播数据
    re_path('^index/advertisement/$', views.ActiveView.as_view()),  #活动宣传
    re_path('^index/findCategory1/$', views.CategoryView.as_view()),
    re_path('^index/findListGoods/$', views.GuessView.as_view()),
    re_path('^index/findRecommendGoods/$', views.HotView.as_view()),
    # re_path('^goods/list/(?P<page>\d+)/(?P<limit>\d+)$', views.GoodCategoryView.as_view()),
    re_path('^goods/list/(?P<page>\d+)/(?P<limit>\d+)$', views.GoodCategoryView.as_view()),
    re_path('^goods/(?P<goodsId>\d+)/$', views.GoodItemView.as_view()),

    re_path('^index/findCategoryTree/$', views.CategoryTreeView.as_view()),







]